package top.tenebrous.yzl.im.contants;

import java.nio.charset.StandardCharsets;

/**
 * @author yazhang6
 */
public class RedisConstants {

    /**
     * UTF-8 字符集
     */
    public static final String UTF8 = StandardCharsets.UTF_8.toString();

    /**
     * redis 订阅消息通道标识
     */
    public final static String REDIS_CHANNEL = "onMessage";

    /**
     * redis 关闭通道标识
     */
    public final static String REDIS_CHANNEL_CLOSE="close";

    /**
     * redis 发送消息标识
     */
    public final static String REDIS_CHANNEL_SEND="send";

    /**
     * 消息体的key
     */
    public final static String REDIS_MESSAGE_KEY = "KEY";

    /**
     * 消息体的值
     */
    public final static String REDIS_MESSAGE_VALUE = "VALUE";

}
